# <p>人生苦短</p>
def make_p(fn):
	def inner():
		return "<p>" + fn() + "</p>"
	return inner


# <div>人生苦短</div>
def make_div(fn):
	def inner():
		return "<div>" + fn() + "</div>"
	return inner


# content = make_div(make_p(content))
@make_div
@make_p
def content():
	return "人生苦短!"


print(content())

# 多个装饰器的装饰顺序是从内到外